from controller.Base import BaseHandler
from tornado import gen

class FeedbackHandler(BaseHandler):
    @gen.coroutine
    # @login_required
    def post(self, *args, **kwargs):
        r_id = self.get_argument("rid")
        desc = self.get_argument("desc")
        print((r_id, desc))
        result = True
        if result:
            return self.write(self.response_code.SUCCESS)
        else:
            return self.write(self.response_code.DATA_IS_WRONG)